var path = require("path");
module.exports = {
    entry: __dirname + "/src/main.js",
    output: {
        path: __dirname + "/www",
        filename: "bundle.js"
    },
    devServer: {
        publicPath: '/www',
        hot: true,
        open: true,
        proxy: {
            '/api': {
                target: '/*这里填域名*/',
            }
        }
    }
}